본문으로 건너뛰기

Part 3: Cloud & Outsourcing Responsibility

ItemContent
Document NamePart 3: Cloud & Outsourcing Responsibility
Product NameDTA Wide Sleep Management Platform
Date2026-02-10
ScopePart 3 (Backend/Infrastructure)

1. Cloud Provider Overview

  • Primary Cloud Provider: Google Cloud Platform (GCP)
  • Region: europe-west3 (Frankfurt, Germany)
  • Service Model: IaaS + PaaS + SaaS Hybrid

2. Shared Responsibility Model

2.1 GCP Responsibility vs DTA Wide Responsibility

2.2 RACI Matrix (by GCP Service)

GCP ServicePhysical SecurityNetwork SecurityOS PatchApp SecurityData ProtectionBackupMonitoring
Cloud RunGCP: RGCP: R, DTA: AGCP: RDTA: RDTA: RGCP: IDTA: R
Cloud SQLGCP: RGCP: RGCP: RDTA: RDTA: RGCP: R, DTA: ADTA: R, GCP: C
MemorystoreGCP: RGCP: RGCP: RDTA: RDTA: RGCP: RDTA: R
FirestoreGCP: RGCP: RGCP: RDTA: RDTA: RGCP: RDTA: R
Cloud KMSGCP: RGCP: RGCP: RGCP: RDTA: AGCP: RDTA: R
Secret ManagerGCP: RGCP: RGCP: RDTA: RDTA: RGCP: RDTA: R

RACI Legend:

  • R (Responsible): Execution responsibility
  • A (Accountable): Final responsibility
  • C (Consulted): Consultation needed
  • I (Informed): Information sharing

3. Key External Service List

3.1 Cloud Services (GCP)

ServicePurposeData TransmissionSecurity CertificationContract Type
Cloud RunAPI server hostingSource code (container images)ISO 27001, SOC 2, C5 Type 2Google Customer Agreement
Cloud SQL PostgreSQLPrimary databaseUser data, sleep logs, questionnaire responsesISO 27001, SOC 2, C5 Type 2Same
Memorystore RedisCache, sessionsSession tokens, cache dataISO 27001, SOC 2, C5 Type 2Same
FirestoreNoSQL DB (analysis logs)Anonymized event logsISO 27001, SOC 2, C5 Type 2Same
Cloud KMSEncryption key managementEncryption keys (HSM internal only)ISO 27001, SOC 2, C5 Type 2, FIPS 140-2Same
Secret ManagerSecret storageAPI keys, DB passwordsISO 27001, SOC 2, C5 Type 2Same
Cloud LoggingLog collectionApplication logs, audit logsISO 27001, SOC 2, C5 Type 2Same

3.2 SaaS Services (Third-party)

ServiceProviderPurposeData TransmissionSecurity CertificationDPA Signed
Firebase Cloud MessagingGooglePush notificationsDevice tokensISO 27001, SOC 2✅ GDPR DPA
Firebase CrashlyticsGoogleCrash monitoring (mobile)Crash reports, anonymized device infoISO 27001, SOC 2✅ GDPR DPA (Google)
SendGridTwilioEmail sendingEmail addressesSOC 2 Type 2✅ GDPR DPA
GitHubMicrosoftSource code storageSource code (Private Repo)ISO 27001, SOC 2✅ GDPR DPA

3.3 External Interface Connection Security Specification (O.TrdP_10)

dta-wide-api → External Service Connection Structure:

External Interface TLS Implementation Status (O.TrdP_10):

External ServiceAuthentication MethodTLS Version SpecifiedNotes
Firebase FCMService Account JWT (mutual authentication)✅ Google SDKGoogle SDK manages TLS
Firebase CrashlyticsService Account JWT (mutual authentication)✅ Google SDKGoogle SDK manages TLS
SendGridAPI Key (one-way)TLS 1.2+
GitHubToken (HTTPS)TLS 1.2+Source code only transmitted

4. GCP Security Credentials (C5 Type 2)

4.1 C5 (Cloud Computing Compliance Controls Catalogue)

GCP C5 Type 2 Certification:

  • Issuing Authority: BSI (German Federal Information Security Office)
  • Certification Scope: All GCP services (europe-west3 included)
  • Validity Period: 2024-01-01 ~ 2026-12-31 (expected)
  • Certificate Location: certs/gcp-c5-attestation-2024.pdf

C5 Major Requirements:

  • ORP (Organization and Personnel)
  • OPS (Operations)
  • OIS (Information Security Incident Management)
  • IDM (Identity and Access Management)
  • DAT (Data Protection)
  • LOG (Logging)
  • CRY (Cryptography)

GCP Compliance Verification:

  • Download C5 certificate via GCP Compliance Reports Manager
  • Annual recertification (Type 2: continuous annual audit)

4.2 Other GCP Security Certifications

CertificationIssuing AuthorityScope
ISO 27001ISOInformation Security Management System
SOC 2 Type IIAICPAService Organization Controls
GDPREUPersonal Data Protection Regulation
HIPAAHHS (US)Healthcare Data Protection
ISO 27017ISOCloud Security
ISO 27018ISOCloud Personal Data Protection
PCI DSSPCI SSCPayment Card Data Protection (not used)

5. Data Processing Agreement (DPA)

5.1 GDPR Article 28 Compliance

GCP DPA:

  • Contract Type: Google Cloud GDPR Data Processing Amendment
  • Signature Date: [Contract date]
  • Applicable Services: All GCP services
  • Sub-processors: Google Sub-processor List (public)
  • Data Location: europe-west3 (fixed) Germany

Third-party Service DPA:

ServiceDPA SignedDPA TypeSignature Date
OpenAIGDPR DPA2024-06-01
Firebase CrashlyticsGoogle GDPR DPAIncluded in Google Customer Agreement
SendGridGDPR DPA2024-08-01
GitHubGitHub DPA (Microsoft)2024-05-01

5.2 Sub-Processors

GCP Sub-processor List (Examples):

  • Google LLC (USA) - Infrastructure operation
  • Google Ireland Limited (Ireland) - EU data processing
  • Google Germany GmbH (Germany) - Local support

Notification Obligation:

  • GCP: Email notification 30 days before sub-processor change
  • DTA Wide: Can raise objection within 14 days

6. Data Residency and Cross-Border Transfer

6.1 Data Residency Guarantee

GCP VPC Service Controls:

  • All data processed only within europe-west3 region
  • Block access outside region (VPC Perimeter)
  • Administrator access also through VPC within region only

6.2 No Cross-Border Transfer

Guarantees:

  • All user data stored/processed in Germany (europe-west3) only
  • Backups replicated Multi-zone within same region
  • Administrator/developer access via Proxy through German region only
  • Uses GCP global network but data locked to region

Exception:

  • GitHub: Source code storage (no sensitive data included)

7. Vendor Security Monitoring

7.1 GCP Security Command Center

Configuration:

  • Standard Tier enabled
  • Vulnerability scan: Weekly
  • Anomaly detection: Real-time
  • Compliance check: Monthly

Alert Configuration:

  • Critical vulnerabilities: Immediate email
  • High vulnerabilities: Daily summary
  • Compliance violations: Immediate alert

7.2 Vendor SLA Monitoring

ServiceSLAActual Uptime (2025)Downtime Compensation
Cloud Run99.95%99.98%Service credit (10-25% monthly usage)
Cloud SQL99.95% (HA)99.97%Service credit
Memorystore99.9%99.95%Service credit

9. Supply Chain Security

9.1 Container Image Validation

GCP Artifact Registry:

  • Container image vulnerability scan (automatic)
  • Binary Authorization (signature verification)
  • Provenance Attestation (SLSA Level 2)

Docker Image Signing:

# cloudbuild.yaml
steps:
- name: gcr.io/cloud-builders/docker
args: ['build', '-t', 'gcr.io/dta-wide-prod/dta-wide-api:$SHORT_SHA', '.']

- name: gcr.io/cloud-builders/docker
args: ['push', 'gcr.io/dta-wide-prod/dta-wide-api:$SHORT_SHA']

- name: gcr.io/cloud-builders/gcloud
args:
- kms
- asymmetric-sign
- --location=europe-west3
- --keyring=build-keyring
- --key=build-key
- --version=1
- --digest-algorithm=sha256
- --input-file=/workspace/image-digest.txt
- --signature-file=/workspace/signature.sig

9.2 Dependency Management

SBOM (Software Bill of Materials):

  • Format: CycloneDX JSON
  • Generation Tool: @cyclonedx/bom
  • Update: Per release
  • Storage Location: artifacts/sbom-v1.x.json

Example:

{
"bomFormat": "CycloneDX",
"specVersion": "1.4",
"version": 1,
"components": [
{
"type": "library",
"name": "@nestjs/core",
"version": "10.0.0",
"purl": "pkg:npm/%40nestjs/core@10.0.0"
}
]
}

10. Vendor Audit and Review

10.1 Annual Vendor Review

Review ItemFrequencyResponsibleAction
GCP Security Certification RenewalAnnualSecurity teamVerify C5 certificate
DPA RenewalAnnualLegal teamContract review
Sub-processor ChangesQuarterlyCompliance teamApprove/reject changes
SLA Achievement RateMonthlyOperationsClaim compensation
Vendor VulnerabilitiesOngoingSecurity teamCVE monitoring

10.2 Exit Strategy (Contingency Plan)

Scenario: GCP Service Outage (Region Failure)

  1. Immediate Action (0-15 minutes):
    • Cloud SQL HA Failover (automatic, < 60 seconds)
    • Cloud Run Multi-zone auto-redeploy
  2. Short-term Action (15 minutes-4 hours):
    • Manual Failover to another region (europe-west1)
    • DNS TTL 60 seconds → fast switching
  3. Long-term Action (4 hours-2 weeks):
    • Complete migration to another cloud provider (AWS/Azure)
    • Execute migration plan (Section 8.2)

Evidence and References (Artifacts)

  1. RACI Matrix (Section 2.2 of this document)
  2. GCP C5 Type 2 Certification - certs/gcp-c5-attestation-2024.pdf
  3. DPA Contract (GCP) - contracts/gcp-dpa-signed.pdf
  4. VPC Service Controls Configuration - artifacts/vpc-service-controls.yaml
  5. SBOM (Software Bill of Materials) - artifacts/sbom-v1.x.json
  6. GCP Sub-processor List - artifacts/gcp-subprocessors-list.pdf
  7. Vendor Review Records - reports/vendor-review-2025.pdf
  8. SLA Achievement Report - reports/sla-report-2025.xlsx
  9. Migration Plan (Contingency) - docs/migration-plan-gcp-to-aws.md
RegulationRequirementImplementationEvidence
BSI TR-03161 Part 3Vendor security credentialsGCP C5 Type 2 certificationCertificate
GDPR Article 28DPA executionDPA for all external servicesDPA contracts
DiGA (BfArM)German data residencyeurope-west3 region enforcementVPC Service Controls
ISO 27001 A.15Vendor relationship managementRACI, SLA monitoringThis document